package com.wuze.TCC.pojo;

import com.wuze.TCC.annotation.TCC;

import java.lang.reflect.Method;


/**
 * 封装事务消息
 * @author wuze
 */
public class TransactionMsg {

    public String TransId;

    public Object traget;

    public Method method;

    public TCC annotation;

    public Object[] args;


    public String getTransId() {
        return TransId;
    }

    public void setTransId(String transId) {
        TransId = transId;
    }

    public Object getTraget() {
        return traget;
    }

    public void setTraget(Object traget) {
        this.traget = traget;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public TCC getAnnotation() {
        return annotation;
    }

    public void setAnnotation(TCC annotation) {
        this.annotation = annotation;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }


}
